import {createRouter,createWebHashHistory} from 'vue-router'
import options from './config'

const routes = options.routes

// console.log(routes)
// 打印出来routes数组

export default createRouter({
    history:createWebHashHistory(),
    routes
})
